Decision Nodes

A Decision node is a widget in a master flow that is used to build a data-driven trigger event in a decision pipeline. It allows users to create logical forks in a decision flow that can be switched based on the results of queries, DSML output, or optimization output.

For example, if the sales for the last week at a specific store exceed $1m for blue shoes, it can be used to send a reorder message using an API to the supplier. While if it’s lower, it can simply send a warning email to the store manager or create a User Task for them to complete. The Decision node provides a mechanism to read the value of blue shoe sales for a given store and make the appropriate switch.

Using a Decision Node

Once the user has started a new decision model flow, they can simply drag and drop one or more Decision nodes onto the canvas. Setting up the Decision triggers can be done by accessing the node's properties panel, and choosing "triggers."

Trigger Setup

Triggers are set up in the Create Query Condition dialog. This dialog is identical for Decision nodes and when used for triggers and dynamic text design elsewhere in the platform.

The Create Query Condition dialog lets users access:

  • Standard query results from visualizations - including any calculations within such queries as well as calculations ON TOP of those queries.
  • Blended query results from tabulate spreadsheets - including calculations across one or more blended queries built into the spreadsheets.
  • Optimization results from the Solve engine in tabulate spreadsheets.
  • Model refresh events.